#ifndef MAINSCREEN_H_
#define MAINSCREEN_H_

#include <MAUI/Screen.h>
#include <MAUI/Layout.h>
#include <MAUI/ListBox.h>
#include "MessageBox.h"
#include "MenuScreen.h"

using namespace MAUI;

class MainScreen: public Screen, public WidgetListener, public MessageBoxListener, public MenuListener{
public:
	MainScreen();
	~MainScreen();

	void keyPressEvent(int keyCode, int nativeCode);
	void pointerPressEvent(MAPoint2d point);
	void pointerReleaseEvent(MAPoint2d point);

	void actionIndex(int index);

	void menuIndex(int index);

private:
	Layout* mLayout;
	ListBox* mItems;
	Widget* mSoftKeys;
};

#endif /* MAINSCREEN_H_ */
